package com.pinganfu.mock.test;

import java.util.Iterator;

import net.sf.json.JSONObject;



public class test2 {
	public static void main(String[] args) {
		String s2="[{pointTxn=[{elementName=<arg0>detail, type=string}, {elementName=<arg0>payId, type=string}, {elementName=<arg0>transAmt, type=decimal}, {elementName=<arg0>transId, type=string}, {elementName=<arg0>transPoint, type=string}]}]";
		String s3 = s2.replace("[", "");
		//String s4 = s3.replace("]", "");
		//	System.out.println(s4);
			
			JSONObject jobj = JSONObject.fromObject(s2 == null ? "{}" : s2);  
			
	        Iterator it = jobj.keys();
	        
	        System.out.println(it);
	}
}
